package com.mhkj.workflow.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.mics.core.system.base.entity.BaseDomain;

/**
 * 费用工作流日志记录
 * 
 * @author
 *
 */
@Entity
@Table(name = "t_work_flow_logger")
public class WorkFlowLogger extends BaseDomain {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = 9092319521306631223L;
	

	/**
	 * 流程ID
	 */
	@Column(name = "procins_id")
	private String procInsId;
	/**
	 * 流程实例ID
	 */
	@Column(name = "work_flow_id")
	private String workFlowId;
	/**
	 * 流程类型
	 */
	@Column(name = "work_flow_type")
	private String workFlowType;
	/**
	 * 实例ID（数据入口）
	 */
	@Column(name = "example_id")
	private Long exampleId;
	

	/**
	 *实例实体（数据入口）
	 */
	@Column(name = "example_entity")
	private String exampleEntity;
	
	/**
	 * 审批跳转页面
	 */
	@Column(name = "url")
	private String url;

	/**
	 * 令牌
	 */
	@Column(name = "token")
	private String token;
	

	/**
	 * 状态
	 */
	@Column(name = "status")
	private String status="1";
	

	/**
	 * 审批时间
	 */
	@Column(name="audit_date")
	@Temporal(TemporalType.DATE)
	private Date auditDate;
	/**
	 * 审批结果
	 */
	@Column(name="audit_result")
	private String auditResult;
	
	/**
	 * 备注
	 */
	@Column(name = "remarks")
	private String remarks;

	public String getProcInsId() {
		return procInsId;
	}

	public void setProcInsId(String procInsId) {
		this.procInsId = procInsId;
	}

	public String getWorkFlowId() {
		return workFlowId;
	}

	public void setWorkFlowId(String workFlowId) {
		this.workFlowId = workFlowId;
	}

	public String getWorkFlowType() {
		return workFlowType;
	}

	public void setWorkFlowType(String workFlowType) {
		this.workFlowType = workFlowType;
	}

	public Long getExampleId() {
		return exampleId;
	}

	public void setExampleId(Long exampleId) {
		this.exampleId = exampleId;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public Date getAuditDate() {
		return auditDate;
	}

	public void setAuditDate(Date auditDate) {
		this.auditDate = auditDate;
	}

	public String getAuditResult() {
		return auditResult;
	}

	public void setAuditResult(String auditResult) {
		this.auditResult = auditResult;
	}

	public String getExampleEntity() {
		return exampleEntity;
	}

	public void setExampleEntity(String exampleEntity) {
		this.exampleEntity = exampleEntity;
	}
	
}
